home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Development Tools / Sample Applications / CoreSample / CoreSample Terminology next >
Encoding:
Text File  |  1992-11-25  |  2.5 KB  |  85 lines  |  [ttro/ttxt]

  1. CoreSample Suite: Suite pertaining to CoreSample
  2.  
  3. run: Sent to an application when it is double-clicked
  4.     run
  5.  
  6. quit: Quit application
  7.     quit
  8.  
  9. close: Close an object
  10.     close  the object to close
  11.  
  12. count elements: Return the number of elements of a particular class within an object
  13.     count elements  the object whose elements are to be counted
  14.         each  'type'  (the class of the elements to be counted)
  15.     Result:   integer
  16.  
  17. create: Create a new element
  18.     create
  19.         new  'type'  (the class of the new element)
  20.         at  'insl'  (the location at which to insert the element)
  21.         with data  '****'  (the initial data for the element)
  22.         with properties  record  (the initial data for the properties of the element)
  23.     Result:   'obj '
  24.  
  25. delete: Delete an element from an object
  26.     delete  the element to delete
  27.  
  28. duplicate: Duplicate object
  29.     duplicate  the object to duplicate
  30.         to  'insl'  (the new location for the object)
  31.     Result:   'obj '
  32.  
  33. exists: Verify if an object exists
  34.     exists  the object in question
  35.     Result:   boolean
  36.  
  37. get: Get the data for an object
  38.     get  the object whose data is to be returned
  39.         as  'type'  (the desired type for the data)
  40.     Result:   '****'
  41.  
  42. data size: Return the size in bytes of an object
  43.     data size  the object whose data size is to be returned
  44.     Result:   integer
  45.  
  46. move: Move an object
  47.     move  The object to move
  48.         to  'insl'  (the new location for the object)
  49.     Result:   'obj '
  50.  
  51. set: Set an object's data
  52.     set  the object to change
  53.         to  '****'  (the new value)
  54.  
  55. Class application: An application program
  56. Elements:
  57.     window by numeric index
  58.     window by name
  59. Properties:
  60.     best type  'type'  (the best descriptor type)
  61.     class  'type'  (the class)
  62.     default type  'type'  (the default descriptor type)
  63.     frontmost  boolean  (Is this the frontmost application?)
  64.     name  'itxt'  (the name)
  65.     version  'vers'  (the version number of the application)
  66.  
  67. Class window: A window
  68. Properties:
  69.     bounds  'qdrt'  (the boundary rectangle for the window)
  70.     position  'QDpt'  (the upper left-hand coordinates of the window)
  71.     index  integer  (the number of the window)
  72.     name  'itxt'  (the title of the window)
  73.     best type  'type'  (the best descriptor type)
  74.     class  'type'  (the class)
  75.     default type  'type'  (the default descriptor type)
  76.     closeable  boolean  (Does the window have a close box?)
  77.     titled  boolean  (Does the window have a title bar?)
  78.     floating  boolean  (Does the window float?)
  79.     modal  boolean  (Is the window modal?)
  80.     resizable  boolean  (Is the window resizable?)
  81.     zoomable  boolean  (Is the window zoomable?)
  82.     zoomed  boolean  (Is the window zoomed?)
  83.     visible  boolean  (Is the window visible?)
  84.  
  85.